WPMP\Sparkpost_Mailer A

Total Complexity 70
Dependencies 2
Dependents 1
Total lines 537
Lines of code 321
Logical lines of code 173
Comment lines 125
Methods 23
Properties 1

Methods 23

Method Rating Maintainability Complexity Lines of code
handle_response()
A
43 10 52
get_request_body()
A
44 8 45
get_headers()
S
54 6 20
sparkpost_send()
S
52 4 27
get_recipients()
S
56 4 18
get_reply_to()
S
58 4 15
write_to_log_table()
S
51 3 26
parse_reply_to_from_custom_header()
S
63 4 10
parse_reply_to()
S
60 3 13
stringify_recipients()
S
62 3 11
check_permission_error()
S
63 3 9
build_recipient()
S
61 2 13
get_attachments()
S
62 2 11
read_attachment()
S
72 2 6
get_sender()
S
66 2 9
get_bcc()
S
68 2 7
get_cc()
S
68 2 7
debug()
S
81 1 3
__construct()
S
75 1 4
get_request_headers()
S
71 1 6
mailSend()
S
81 1 3
isMail()
S
81 1 3
error()
S
81 1 3